﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000775 RID: 1909
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetNpcMessageGroupCsReq : IMessage<GetNpcMessageGroupCsReq>, IMessage, IEquatable<GetNpcMessageGroupCsReq>, IDeepCloneable<GetNpcMessageGroupCsReq>, IBufferMessage
	{
		// Token: 0x1700186E RID: 6254
		// (get) Token: 0x060055DD RID: 21981 RVA: 0x000E88D4 File Offset: 0x000E6AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetNpcMessageGroupCsReq> Parser
		{
			get
			{
				return GetNpcMessageGroupCsReq._parser;
			}
		}

		// Token: 0x1700186F RID: 6255
		// (get) Token: 0x060055DE RID: 21982 RVA: 0x000E88DB File Offset: 0x000E6ADB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetNpcMessageGroupCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001870 RID: 6256
		// (get) Token: 0x060055DF RID: 21983 RVA: 0x000E88ED File Offset: 0x000E6AED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetNpcMessageGroupCsReq.Descriptor;
			}
		}

		// Token: 0x060055E0 RID: 21984 RVA: 0x000E88F4 File Offset: 0x000E6AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetNpcMessageGroupCsReq()
		{
		}

		// Token: 0x060055E1 RID: 21985 RVA: 0x000E8907 File Offset: 0x000E6B07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetNpcMessageGroupCsReq(GetNpcMessageGroupCsReq other) : this()
		{
			this.contactIdList_ = other.contactIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060055E2 RID: 21986 RVA: 0x000E8931 File Offset: 0x000E6B31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetNpcMessageGroupCsReq Clone()
		{
			return new GetNpcMessageGroupCsReq(this);
		}

		// Token: 0x17001871 RID: 6257
		// (get) Token: 0x060055E3 RID: 21987 RVA: 0x000E8939 File Offset: 0x000E6B39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ContactIdList
		{
			get
			{
				return this.contactIdList_;
			}
		}

		// Token: 0x060055E4 RID: 21988 RVA: 0x000E8941 File Offset: 0x000E6B41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetNpcMessageGroupCsReq);
		}

		// Token: 0x060055E5 RID: 21989 RVA: 0x000E894F File Offset: 0x000E6B4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetNpcMessageGroupCsReq other)
		{
			return other != null && (other == this || (this.contactIdList_.Equals(other.contactIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060055E6 RID: 21990 RVA: 0x000E8984 File Offset: 0x000E6B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.contactIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060055E7 RID: 21991 RVA: 0x000E89B8 File Offset: 0x000E6BB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060055E8 RID: 21992 RVA: 0x000E89C0 File Offset: 0x000E6BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060055E9 RID: 21993 RVA: 0x000E89C9 File Offset: 0x000E6BC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.contactIdList_.WriteTo(ref output, GetNpcMessageGroupCsReq._repeated_contactIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060055EA RID: 21994 RVA: 0x000E89F0 File Offset: 0x000E6BF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.contactIdList_.CalculateSize(GetNpcMessageGroupCsReq._repeated_contactIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060055EB RID: 21995 RVA: 0x000E8A29 File Offset: 0x000E6C29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetNpcMessageGroupCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.contactIdList_.Add(other.contactIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060055EC RID: 21996 RVA: 0x000E8A57 File Offset: 0x000E6C57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060055ED RID: 21997 RVA: 0x000E8A60 File Offset: 0x000E6C60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U && num != 82U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.contactIdList_.AddEntriesFrom(ref input, GetNpcMessageGroupCsReq._repeated_contactIdList_codec);
				}
			}
		}

		// Token: 0x0400219F RID: 8607
		private static readonly MessageParser<GetNpcMessageGroupCsReq> _parser = new MessageParser<GetNpcMessageGroupCsReq>(() => new GetNpcMessageGroupCsReq());

		// Token: 0x040021A0 RID: 8608
		private UnknownFieldSet _unknownFields;

		// Token: 0x040021A1 RID: 8609
		public const int ContactIdListFieldNumber = 10;

		// Token: 0x040021A2 RID: 8610
		private static readonly FieldCodec<uint> _repeated_contactIdList_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x040021A3 RID: 8611
		private readonly RepeatedField<uint> contactIdList_ = new RepeatedField<uint>();
	}
}
